package com.xtx.mapper;

import com.xtx.entity.Sku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SkuMapper {

    @Select("select * from sku where goodsId = #{id}")
    List<Sku> getSkuByGoodsId(Integer id);
}
